package com.example.demo.controller;



import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.ProductInfo;
import com.example.demo.service.ProductInfoService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;

/**
 * 产品信息表(ProductInfo)表控制层
 *
 * @author hzhang
 * @since 2023-02-09 11:33:21
 */
@RestController
public class ProductInfoController {
    /**
     * 服务对象
     */
    @Resource
    private ProductInfoService productInfoService;

    /**
     * 请求地址为：http://localhost:8000/reWorkInc
     * @param pi 请求参数
     */
    @RequestMapping("reWorkInc")
    public void reWorkInc(@RequestBody ProductInfo pi) {
        productInfoService.reWorkInc(pi);
    }

}

